namespace Stee.CAP8.MessageBus.Sagas.Core.Storages.Enums
{
    public enum SagaProcessState
    {
        NEW = 0,
        RUN = 1,
        DONE = 2,
        ERROR = 90,
        ROLLBACK = 99
    }
    /// <summary>
    /// Saga每一个节点的当前状态
    /// 节点是指每一个子事务（flow目前的状态）
    /// </summary>
    public enum SagaNodeState
    {
        RUN = 0,
        SUCCESS = 1,
        ROLLBACK = 2,
        ERROR = 99
    }
}
